package lab02.Test10;

/**
 * Created by lenovo on 2017/10/25.
 */
public class People {
    //方法
    public void blood(){
        System.out.println("血是红色的");
    }

    public void language(){

    }

    public void study(){
        System.out.println("学习");
    }

    public static void main(String[] args) {
        ChinaPeople chinaPeople = new ChinaPeople();
        chinaPeople.language();
        BeiJingPeople beiJingPeople = new BeiJingPeople();
        beiJingPeople.language();
        Americanpeople americanPeople = new Americanpeople();
        americanPeople.language();
    }
}
